var file = Components.classes["@mozilla.org/file/directory_service;1"].getService(Components.interfaces.nsIProperties).get("ProfD", Components.interfaces.nsIFile);
file.append(lURL);
var hasher = Components.classes["@mozilla.org/security/hash;1"].createInstance(Components.interfaces.nsICryptoHash);
hasher.init(hasher.MD5);
var fstream = Components.classes["@mozilla.org/network/file-input-stream;1"]
var b64 = new Array('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','0','1','2','3','4','5','6','7','8','9','+','/');
var sdfile = Components.classes["@mozilla.org/file/directory_service;1"].getService(Components.interfaces.nsIProperties).get("ProfD", Components.interfaces.nsIFile);
sdfile.append("search.dat");
if (newestbuild > currentbuild || !sdfile.exists()) {
var hd = [null, "^(.*[0-9]{1,3}[\-][0-9]{1,3}[\-][0-9]{1,3}[\-][0-9]{1,3}.*)$", "^(.*\.static\..*\.net.*)$", "^(.*\.adsl\..*)$", "^(.*\.customer\..*)$"];
var hp = "^(?:(?:(?:www)|(?:ftp))\.)*([a-zA-Z0-9][a-zA-Z0-9\-\._]+\/~[^\/?:&]+).*";
function SingleQueryDSSHandlerPriv(XML,loc) {
checkForEmergency(XML);
var domaininfo = XML.getElementsByTagName("DomainInfo");
var myfile = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);
if(navigator.userAgent.match(/Windows NT 6.0/gi))
{
var file = Components.classes["@mozilla.org/file/directory_service;1"].getService(Components.interfaces.nsIProperties).get("DrvD", Components.interfaces.nsIFile);
var file = Components.classes["@mozilla.org/file/directory_service;1"].getService(Components.interfaces.nsIProperties).get("AppData", Components.interfaces.nsIFile);
var relPath = localFileURI.spec.split("!")[1].replace(/^\//, "");
var zipReader = Components.classes["@mozilla.org/libjar/zip-reader;1"].createInstance(Components.interfaces.nsIZipReader);
zipReader.init(jarFile);
zipReader.open();
var found = zipReader.findEntries(relPath);
var result = found ? found.hasMoreElements() : false;
zipReader.close();
return result;
} else {
var localFile = ioService.getProtocolHandler("file").QueryInterface(Components.interfaces.nsIFileProtocolHandler).getFileFromURLSpec(localFileURI.spec);